<?php
class SettlementModel extends Orm_Base{
    public $table = 'settlement';
    public $field = array(
        'id' => array('type' => "int(11) unsigned",'comment' => ''),
        'sid' => array('type' => "int(11) unsigned",'comment' => '关联老人ID'),
        'fee' => array('type' => "int(5)",'comment' => '付费金额'),
        'is_pay' => array('type' => "tinyint(1)",'comment' => '是否付费(1.已付费、2.未付费)'),
        'created' => array('type' => "int(11)",'comment' => ''),
        'updated' => array('type' => "int(11)",'comment' => ''),
    );
    public $pk = 'id';
}
?>
